/*-------------------------------------------------------------------------

***************** Modification History ***********************************
   @doc
   @module PDT.h - Product Definition Table header file |
   @end

$Log: /SoftPay/SPK2SIM/Source/Include/cdt.h $
**************************************************************************

   Copyright (C) 2000 by VeriFone, Inc.

   All rights reserved.  No part of this software may be reproduced,
   transmitted, transcribed, stored in a retrieval system, or translated
   into any language or computer language, in any form or by any means,
   electronic, mechanical, magnetic, optical, chemical, manual or otherwise,
   without the prior written permission of VeriFone, Inc.

---------------------------------------------------------------------------*/

#ifndef PDT_H
#define PDT_H

/*#include <define.h>
#include <fields.h>
#include <transact.h>
#include <util.h>*/


#define PDT_FILE_NAME       "PDT.dat"
#define SIZE_PDT_REC         30




/*
 *		Function Prototypes
 */


int   inLoadPDTRec ( int inPDTRecNo );
int   inSavePDTRec ( int inPDTRecNo );
int   inGetProductTable( void );


/*
 *              PDT Record Data Access Methods
 */

char *szGetProductCode( void );
char *szGetProductDescription( void );
char *szGetProductPrice( void );

void vdSetProductCode( char *szCode );
void vdSetProductDescription( char *szDesc );
void vdSetProductPrice( char *szPrice );

VS_BOOL fValidProductCode( char *szCode );

#endif
